home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / mult200.zip / DOORBATS.ZIP / FREQ.BAT < prev    next >
DOS Batch File  |  1991-12-10  |  857b  |  43 lines

  1. @ECHO OFF
  2. ECHO ┌───────────────┐
  3. ECHO │    RTS FREQ   │
  4. ECHO └───────────────┘
  5. if %port% == 0 goto helpregl
  6. type c:\ra\helpreg.txt > com%port%:
  7. goto regend
  8. :helpregl
  9. type c:\ra\helpreg.txt
  10. :regend
  11. dvcomand wait 20
  12. if exist c:\ra\findfile\inuse.txt goto oops!
  13. rem > c:\ra\findfile\inuse.txt
  14. if %node% == N3 goto rennodedef
  15. if %node% == N2 goto rennodedef
  16. goto node1
  17. :rennodedef
  18. ren dorinfo1.def dorinfo%1.def
  19. :node1
  20. CD \ra\findfile
  21. copy c:\ra\%node%\dorinfo%1.def
  22. rtsfreq %1
  23. del c:\ra\findfile\inuse.txt
  24. CD \RA\%node%
  25. if %node% == N3 goto node3e
  26. if %node% == N2 goto node2e
  27. goto end
  28. :node3e
  29. ren dorinfo3.def dorinfo1.def
  30. goto end
  31. :node2e
  32. ren dorinfo2.def dorinfo1.def
  33. goto end
  34. :oops!
  35. if %port% == 0 goto oops!l
  36. type c:\ra\used.txt > com%port%:
  37. goto oopsend
  38. :oops!l
  39. type c:\ra\used.txt
  40. :oopsend
  41. dvcomand wait 20
  42. :end
  43.